package com.jsu.dao;

import com.jsu.bean.LostMessage;
import com.jsu.bean.LostMessageExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface LostMessageMapper {
	Integer selectLastId();
	
    int countByExample(LostMessageExample example);

    int deleteByExample(LostMessageExample example);

    int deleteByPrimaryKey(Integer lostmessageId);

    int insert(LostMessage record);

    int insertSelective(LostMessage record);

    List<LostMessage> selectByExample(LostMessageExample example);

    LostMessage selectByPrimaryKey(Integer lostmessageId);

    int updateByExampleSelective(@Param("record") LostMessage record, @Param("example") LostMessageExample example);

    int updateByExample(@Param("record") LostMessage record, @Param("example") LostMessageExample example);

    int updateByPrimaryKeySelective(LostMessage record);

    int updateByPrimaryKey(LostMessage record);

	Integer selectIdByToken(String facetoken);

	List<Integer> selectIdsByPro(Integer provider);

	List<LostMessage> selectByLost(Integer lostId);
}